<?php if (!defined('THINK_PATH')) exit(); /*a:3:{s:68:"/var/www/html/wkyx/public/../application/index/view/index/index.html";i:1536229774;s:70:"/var/www/html/wkyx/public/../application/index/view/common/header.html";i:1534900110;s:70:"/var/www/html/wkyx/public/../application/index/view/common/footer.html";i:1532576206;}*/ ?>
<!DOCTYPE html >
<html >
<head>
<meta charset="utf-8">

<title>吾酷羽协</title>
<link rel="stylesheet" type="text/css" href="<?php echo STATIC_PATH; ?>/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="<?php echo STATIC_PATH; ?>/css/index.css">
<link rel="stylesheet" type="text/css" href="<?php echo STATIC_PATH; ?>/css/font.css">
<script type="text/javascript" src = "<?php echo STATIC_PATH; ?>/js/jquery-3.2.1.min.js"></script>
<script type="text/javascript" src = "<?php echo STATIC_PATH; ?>/js/bootstrap.min.js"></script>
<script type="text/javascript" src = "<?php echo STATIC_PATH; ?>/js/index.js"></script>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
	<div class="container margin-top">
		<div class="row">
			<div class="col-md-offset-1 col-md-10 col-sm-12">
				<div class="row">
					<div class="col-md-5 col-sm-9 col-xs-9 margin">
						<img src="<?php echo STATIC_PATH; ?>/image/yx.jpg" height="120px" width="100%">
					</div>
					<div class="col-md-5"></div>
					<div class="col-md-offset-5 col-md-2 col-sm-3 col-xs-3 margin">
						
						<?php if(isset($_COOKIE["name"])): ?>
							<a href="<?php echo url('Index/cancel'); ?>">注销</a>|<?php echo $name; else: ?> 游客身份|<a href="<?php echo url('Index/login'); ?>">登录</a>
						<?php endif; ?>
							
					</div>
				</div>
			</div>
		</div>
		<div class="row">
			<div class="col-md-offset-1 col-md-10 col-sm-12">
				<nav class="navbar navbar-default" role="navigation" style="margin:0;padding: 0">
				    <div class="container-fluid"> 
				    <div class="navbar-header">
				        <button type="button" class="navbar-toggle" data-toggle="collapse"
				                data-target="#example-navbar-collapse">
				            <span class="sr-only">切换导航</span>
				            <span class="icon-bar"></span>
				            <span class="icon-bar"></span>
				            <span class="icon-bar"></span>
				        </button>
				        <a class="navbar-brand" href="<?php echo url('Index/index'); ?>">首页</a>
				    </div>
				    <div class="collapse navbar-collapse" id="example-navbar-collapse">
				        <ul class="nav navbar-nav">
				            <li><a href="<?php echo url('Together/common'); ?>">拼场</a></li>
				            <li><a href="<?php echo url('Together/train'); ?>">教球</a></li>
				            <li><a href="<?php echo url('Together/publish'); ?>">发布信息</a></li>
				            <li class="dropdown">
				                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
				                    个人信息 <b class="caret"></b>
				                </a>
				                <ul class="dropdown-menu">
				                    <li><a href="<?php echo url('Together/join'); ?>">我参与的拼场</a></li>
				                    <li class="divider"></li>
				                    <li><a href="<?php echo url('Together/commonp'); ?>">我发布的信息</a></li>
				                    <li class="divider"></li>
				                    <li><a href="<?php echo url('Together/teaching'); ?>">我加入的训练</a></li>
				                    <li class="divider"></li>
				                    <li><a href="<?php echo url('Index/message'); ?>">修改密码</a></li>				                 
				                </ul>
				            </li>
<!-- 				            <li class="dropdown">
				                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
				                    部门介绍 <b class="caret"></b>
				                </a>
				                <ul class="dropdown-menu">
				                    <li><a href="<?php echo url('Index/active'); ?>">活动部</a></li>
				                    <li class="divider"></li>
				                    <li><a href="<?php echo url('Index/media'); ?>">传媒部</a></li>
				                    <li class="divider"></li>
				                    <li><a href="<?php echo url('Index/competition'); ?>">竞赛部</a></li>
				                    <li class="divider"></li>
				                    <li><a href="<?php echo url('Index/office'); ?>">办公室</a></li>
				                </ul>
				            </li> -->
				            <li><a href="<?php echo url('Index/introduce'); ?>">系统简介</a></li>
				        </ul>
				    </div>
				    </div>
				</nav>
			</div>
		</div>
		<div class="row">
			<div class="col-md-offset-1 col-md-10 col-sm-12">
			<div id="myCarousel" class="carousel slide">
				<!-- 轮播（Carousel）指标 -->
				<ol class="carousel-indicators">
					<li data-target="#myCarousel" data-slide-to="0" class="active"></li>
					<li data-target="#myCarousel" data-slide-to="1"></li>
					<li data-target="#myCarousel" data-slide-to="2"></li>
				</ol>   
				<!-- 轮播（Carousel）项目 -->
				<div class="carousel-inner">
					<div class="item active">
						<img src="<?php echo STATIC_PATH; ?>/image/1.jpg" alt="First slide" height="500px">
					</div>
					<div class="item">
						<img src="<?php echo STATIC_PATH; ?>/image/2.jpg" alt="Second slide" height="500px">
					</div>
					<div class="item">
						<img src="<?php echo STATIC_PATH; ?>/image/3.jpg" alt="Third slide" height="500px">
					</div>
				</div>
				<!-- 轮播（Carousel）导航 -->
				<a class="left carousel-control" href="#myCarousel" role="button" data-slide="prev">
					<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
					<span class="sr-only">Previous</span>
				</a>
				<a class="right carousel-control" href="#myCarousel" role="button" data-slide="next">
					<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
					<span class="sr-only">Next</span>
				</a>
			</div>
			</div>
		</div>
		<div class="row" style="padding-top: 10px">
			<div class="col-md-offset-1 col-md-2" style="margin-bottom: 10px">
				<span class="glyphicon glyphicon-paperclip" style="font-weight: bold;">
					最新赛况
				</span>
				<hr style="border:0;background-color:#ff0000;height:1px;margin:5px">
				<?php echo $text; ?>
			</div>
			<div class="col-md-8">
				<span style="font-weight: bold;" class="glyphicon glyphicon-unchecked">
					活动及赛事预告
				</span>
				<hr style="border:0;background-color:#ff0000;height:1px;margin: 5px">
				<?php if(is_array($msg) || $msg instanceof \think\Collection || $msg instanceof \think\Paginator): $i = 0; $__LIST__ = $msg;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$list): $mod = ($i % 2 );++$i;?>
				<div class="row" style="margin: 15px">
					<div class="col-md-10">
						<?php echo $list['text']; ?>
					</div>
					<div class="col-md-2">
						<p class="text-right">
							<?php echo $list['time']; ?>
						</p>
					</div>
					<hr style="border:0;background-color:#efefef;height:1px;margin: 5px;clear: both;">
				</div>
				<?php endforeach; endif; else: echo "" ;endif; ?>
			</div>
		</div>
	</div>
		<!-- <div class="home-fixed">
		<img src="<?php echo STATIC_PATH; ?>/image/gzh.jpg" alt="" width="100px" height="100px">
	</div> -->
	<nav class="navbar navbar-fixed-bottom adjust-footer">
    <div class="container">
        <p class="text-center text-primary">
            Copyright © 北京化工大学吾酷羽协
        </p>
    </div>
</nav>


</body>
</html>
